/**
 * 
 */
package com.music.service.folders.dao;

import java.util.List;

import com.music.service.folders.beans.Folder;
import com.music.service.folders.exceptions.PermissionDeniedException;

/**
 * @author asanthan
 * 
 */
public interface FolderDAO {
	public boolean addFolder(final Long pMemberId, final String pFolderName);

	public boolean deleteFolder(final Long pMemberId, final Long pFolderId);

	public boolean editFolderName(final Long pMemberId, final Long pFolderId,final String pFolderName);

	public List<Folder> viewActiveFolders(final Long pMemberId);

	public boolean addAlbumToFolder(final Long pMemberId, final Long pFolderId,final Long pAlbumId) 
			throws PermissionDeniedException;

	public boolean deleteAlbumFromFolder(final Long pMemberId,final Long pFolderId, final Long pAlbumId)
			throws PermissionDeniedException;

	public boolean checkMemberPermissionForFolder(final Long pMemberId,	final Long pFolderId);

}
